package com.zhuiyi.yiqingbackend.mapper;

import com.zhuiyi.yiqingbackend.domain.Patient;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PatientMapper {
    List<Patient> getPatients();

    boolean addPatient(Patient patient);

    boolean deletePatient(int id);

    boolean updatePatient(Patient patient);

//    boolean updateStatus(Patient patient);

    Patient getPatientById(int id);


    Patient getPatientByBaseId(int baseid);
}
